﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;

namespace HS.Log.Models
{


    /// <summary>
    /// 
    /// </summary>
    internal class LogBody
    {
        /// <summary>
        /// 跟踪ID
        /// </summary>
        public string TraceId { get; set; }
        /// <summary>
        /// 上下文ID
        /// </summary>
        public int RpcId { get; set; }
        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }


    internal class LogEntity : LogBody
    {
        /// <summary>
        /// FilePath
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// Source
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// TranCode
        /// </summary>
        public string TranCode { get; set; }

        /// <summary>
        /// Mark
        /// </summary>
        public string Mark { get; set; }

        /// <summary>
        /// Message
        /// </summary>
        public string Message { get; set; }

        public string Module { get; set; }

        public string Namespace { get; set; }

        public string ClassName { get; set; }

        public string MethodName { get; set; }

        public int? LineNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StackInfo { get; set; }

    }



}
